import type { LoginParams } from "./index.d";
const path = "/api/Auth/SendCommand";
import { createCommand } from '../../commandHelper';
const moduleId = 'LoginForm';

/**
 * @description: 登录
 */
export const login = createCommand<LoginParams, { refreshToken: string; token: string }>(moduleId, { commandName: "Login" });

/**
 * @description: 退出登录
 */
export const logout = createCommand<{}, never>(moduleId, { commandName: "Logout" });

